package mvp.com.bbc.ui.model;

import io.reactivex.Observable;
import mvp.com.bbc.app.ApiUrls;
import mvp.com.bbc.app.BaseApplication;
import mvp.com.bbc.appContact.AppContact;
import mvp.com.bbc.bean.ArtBeans;

/**
 * Created by ${cbf} on 2017/10/9.
 */

public class ArtListModel implements AppContact.ArtListModel {
    @Override
    public Observable<ArtBeans> artLIstModel(String themeid, String currentPage, String userid) {
        ApiUrls.ArtList artList = BaseApplication.getmRetrofit().create(ApiUrls.ArtList.class);
        Observable<ArtBeans> observable = artList.getData(themeid, currentPage, userid);
        return observable;
    }
}
